<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2022/4/7
 * Time: 12:33
 */

namespace app\api\controller;
use think\facade\Db;
class UpdateDb extends Base
{
    function update(){
        $sql = "ALTER TABLE `dating_mync_xyz`.`gc_zh_authentication` MODIFY COLUMN `matchmaker_id` int(11) NULL COMMENT '所属红娘id' ";
        $res = Db::execute($sql);
        if($res){
            echo '成功';
            die;
        }else{
            echo '失败';
            die;
        }
    }
}